package net.zoneland.zrdp.framework.web.service;


import net.zoneland.zrdp.framework.web.domain.bean.DeptParam;
import net.zoneland.zrdp.framework.web.domain.bean.UserParam;
import net.zoneland.zrdp.framework.web.domain.vo.CompanyDepartmentVo;
import net.zoneland.zrdp.framework.web.domain.vo.SelectUserVo;

import java.util.List;

public interface PeopleSelectService {

    /**
     * 根据上级部门DN获取下级部门信息
     */
    List<CompanyDepartmentVo> queryDepartments(final DeptParam param);

    /**
     * 根据上级部门DN或者模糊查询人员信息
     */
    List<SelectUserVo> queryUsers(final UserParam userParam);
}
